package com.jxud.service;

import com.jxud.Pojo.Users;
import jakarta.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@Service
public interface UsersService {
    /**
     * 用户登录
     * @param users
     * @return
     */
    Users login(@RequestBody Users users);

    /**
     * 用户注册
     * @param users
     * @return
     */
    String registerUser(Users users);

    /**
     * 获取客户列表
     * @return
     */
    List<Users> getUser(Users users, HttpServletRequest request);
}
